/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package easyanimation.panel.left;

import javax.swing.ListSelectionModel;
import javax.swing.event.ListSelectionListener;

/**
 *
 * @author NW228
 */
public class NullSelectionModel implements ListSelectionModel
{

    @Override
    public void setSelectionInterval(int index0, int index1)
    {        
    }

    @Override
    public void addSelectionInterval(int index0, int index1)
    {
    }

    @Override
    public void removeSelectionInterval(int index0, int index1)
    {
    }

    @Override
    public int getMinSelectionIndex()
    {
        return -1;
    }

    @Override
    public int getMaxSelectionIndex()
    {
        return -1;
    }

    @Override
    public boolean isSelectedIndex(int index)
    {
        return false;
    }

    @Override
    public int getAnchorSelectionIndex()
    {
        return -1;
    }

    @Override
    public void setAnchorSelectionIndex(int index)
    {        
    }

    @Override
    public int getLeadSelectionIndex()
    {
        return -1;
    }

    @Override
    public void setLeadSelectionIndex(int index)
    {
    }

    @Override
    public void clearSelection()
    {
    }

    @Override
    public boolean isSelectionEmpty()
    {
        return true;
    }

    @Override
    public void insertIndexInterval(int index, int length, boolean before)
    {
    }

    @Override
    public void removeIndexInterval(int index0, int index1)
    {
    }

    @Override
    public void setValueIsAdjusting(boolean valueIsAdjusting)
    {
    }

    @Override
    public boolean getValueIsAdjusting()
    {
        return false;
    }

    @Override
    public void setSelectionMode(int selectionMode)
    {
    }

    @Override
    public int getSelectionMode()
    {
        return SINGLE_SELECTION;
    }

    @Override
    public void addListSelectionListener(ListSelectionListener x)
    {
    }

    @Override
    public void removeListSelectionListener(ListSelectionListener x)
    {
    }    
}
